<?php
return [
	'menu' => [
		[
			'title' => '通用',
			'url'   => 'Common/index',
			'ico'   => 'home',
			'show'  => 'no',
			'list'  => [
				['title' => '通用模块', 'url' => 'Common/index', 'list' => [
					['title' => '上传功能', 'url' => 'File/upload', 'filter_list' => [
						['title' => '上传文件', 'url' => 'File/upload'],
						['title' => '本地上传', 'url' => 'File/win_upload'],
						['title' => '上传在线管理', 'url' => 'File/win_online'],
						['title' => '编辑器上传', 'url' => 'File/ueditor_uploads'],
					]],
					['title' => '弹窗选择', 'url' => 'Company/win_select_company', 'filter_list' => [
						['title' => '选择城市', 'url' => 'Area/win_select_city'],
						['title' => '选择订单', 'url' => 'Order/win_select_order'],
						['title' => '选择用户', 'url' => 'User/win_select_user'],
						['title' => '选择管理员', 'url' => 'Admin/win_select_user'],
					]],
					['title' => '地区功能', 'url' => 'Area/get_area_list', 'filter_list' => [
						['title' => '选择城市', 'url' => 'Area/get_area_list'],
					]],
					['title' => '标签功能', 'url' => 'Tags/autocomplete', 'filter_list' => [
						['title' => '自动完成标签', 'url' => 'Tags/autocomplete'],
						['title' => '添加标签', 'url' => 'Tags/add_content'],
					]],
				]],
			]
		],
		[
			'title'     => '首页',
			'url'       => 'Index/system_info',
			'icon'      => 'icon-index',
			'is_select' => 0,
			'list'      => [
				['title' => '系统信息', 'url' => 'Index/system_info', 'addurl' => '', 'list' => [
					['title' => '系统信息', 'url' => 'Index/system_info', 'is_select' => 0, 'filter_list' => []],
				], 'is_select' => 0, 'filter_list' => []],
			],
		],
		[
			'title'     => '内容管理',
			'url'       => 'Article/index?module=common',
			'icon'      => 'icon-content',
			'is_select' => 0,
			'list'      => [
				['title' => '文章管理', 'url' => 'Article/index?module=common', 'list' => [
					['title' => '文章列表', 'url' => 'Article/index?module=common', 'filter_list' => [
						['title' => '添加', 'url' => 'Article/add?module=common', 'is_select' => 0],
						['title' => '修改', 'url' => 'Article/edit?module=common', 'is_select' => 0],
						['title' => '虚拟删除', 'url' => 'Article/del?module=common', 'is_select' => 0],
						['title' => '启用禁用', 'url' => 'Article/checkbox?module=common&field_name=status', 'is_select' => 0],
						['title' => '回收站', 'url' => 'Article/recycle?module=common', 'is_select' => 0],
						['title' => '真实删除', 'url' => 'Article/delete?module=common', 'is_select' => 0],
						['title' => '还原', 'url' => 'Article/permit?module=common', 'is_select' => 0],
					], 'is_select' => 0],
					['title' => '文章类别', 'url' => 'Category/index?module=article_common', 'filter_list' => [
						['title' => '添加', 'url' => 'Category/add?module=article_common', 'is_select' => 0],
						['title' => '修改', 'url' => 'Category/edit?module=article_common', 'is_select' => 0],
						['title' => '删除', 'url' => 'Category/delete?module=article_common', 'is_select' => 0],
						['title' => '启用禁用', 'url' => 'Category/checkbox?module=article_news&field_name=status', 'is_select' => 0],
					], 'is_select' => 0],
				], 'filter_list' => []],
				['title' => '关于我们', 'url' => 'Page/index?module=about_us', 'list' => [
					['title' => '关于我们', 'url' => 'Page/index?module=about_us', 'filter_list' => [], 'is_select' => 0],
					['title' => '科目记指南', 'url' => 'Page/index?module=guide', 'filter_list' => [], 'is_select' => 0],
					['title' => '科目记协议', 'url' => 'Page/index?module=protocol', 'filter_list' => [], 'is_select' => 0],
				], 'filter_list' => []],
				['title' => '广告管理', 'url' => 'Banner/index?module=web_index', 'list' => [
					['title' => 'Web首页Banner', 'url' => 'Banner/index?module=web_index', 'filter_list' => [
						['title' => '添加', 'url' => 'Banner/add?module=web_index', 'is_select' => 0],
						['title' => '修改', 'url' => 'Banner/edit?module=web_index', 'is_select' => 0],
						['title' => '虚拟删除', 'url' => 'Banner/del?module=web_index', 'is_select' => 0],
						['title' => '启用禁用', 'url' => 'Banner/checkbox?module=web_index&field_name=status', 'is_select' => 0],
						['title' => '回收站', 'url' => 'Banner/recycle?module=web_index', 'is_select' => 0],
						['title' => '真实删除', 'url' => 'Banner/delete?module=web_index', 'is_select' => 0],
						['title' => '还原', 'url' => 'Banner/permit?module=web_index', 'is_select' => 0],
					], 'is_select' => 0],
					['title' => 'Wap首页Banner', 'url' => 'Banner/index?module=wap_index', 'filter_list' => [
						['title' => '添加', 'url' => 'Banner/add?module=wap_index', 'is_select' => 0],
						['title' => '修改', 'url' => 'Banner/edit?module=wap_index', 'is_select' => 0],
						['title' => '虚拟删除', 'url' => 'Banner/del?module=wap_index', 'is_select' => 0],
						['title' => '启用禁用', 'url' => 'Banner/checkbox?module=wap_index&field_name=status', 'is_select' => 0],
						['title' => '回收站', 'url' => 'Banner/recycle?module=wap_index', 'is_select' => 0],
						['title' => '真实删除', 'url' => 'Banner/delete?module=wap_index', 'is_select' => 0],
						['title' => '还原', 'url' => 'Banner/permit?module=wap_index', 'is_select' => 0],
					], 'is_select' => 0],
				], 'filter_list' => []],
				['title' => '使用帮助', 'url' => 'Article/index?type=help', 'list' =>[
					['title' => '常见问题', 'url' => 'Article/index?module=help', 'filter_list' => [
						['title' => '添加', 'url' => 'Article/add?module=help', 'is_select' => 0],
						['title' => '修改', 'url' => 'Article/edit?module=help', 'is_select' => 0],
						['title' => '虚拟删除', 'url' => 'Article/del?module=help', 'is_select' => 0],
						['title' => '启用禁用', 'url' => 'Article/checkbox?module=help&field_name=status', 'is_select' => 0],
						['title' => '回收站', 'url' => 'Article/recycle?module=help', 'is_select' => 0],
						['title' => '真实删除', 'url' => 'Article/delete?module=help', 'is_select' => 0],
						['title' => '还原', 'url' => 'Article/permit?module=help', 'is_select' => 0],
					], 'is_select' => 0],
					['title' => '操作手册', 'url' => 'Article/index?module=operate', 'filter_list' => [
						['title' => '添加', 'url' => 'Article/add?module=operate', 'is_select' => 0],
						['title' => '修改', 'url' => 'Article/edit?module=operate', 'is_select' => 0],
						['title' => '虚拟删除', 'url' => 'Article/del?module=operate', 'is_select' => 0],
						['title' => '启用禁用', 'url' => 'Article/checkbox?module=operate&field_name=status', 'is_select' => 0],
						['title' => '回收站', 'url' => 'Article/recycle?module=operate', 'is_select' => 0],
						['title' => '真实删除', 'url' => 'Article/delete?module=operate', 'is_select' => 0],
						['title' => '还原', 'url' => 'Article/permit?module=operate', 'is_select' => 0],
					], 'is_select' => 0],
				], 'filter_list' => []],
			]
		],
		[
			'title'     => '用户管理',
			'url'       => 'User/index?user_type=user',
			'icon'      => 'icon-user',
			'is_select' => 0,
			'list'      => [
				['title' => '用户管理', 'url' => 'User/index?user_type=user', 'list' => [
					['title' => '用户管理', 'url' => 'User/index?user_type=user', 'filter_list' => [
						['title' => '查看详情', 'url' => 'User/win_detail?user_type=user', 'is_select' => 0],
						['title' => '设置密码', 'url' => 'User/win_set_password?user_type=user', 'is_select' => 0],
						['title' => '启用禁用', 'url' => 'User/set_status?user_type=user', 'is_select' => 0],
					], 'is_select' => 0],
					['title' => '用户配置', 'url' => 'Config/setting?type=user', 'filter_list' => [], 'is_select' => 0],
				], 'filter_list' => []],
			]
		],
		[
			'title'     => '系统设置',
			'url'       => 'Admin/detail',
			'icon'      => 'icon-system',
			'is_select' => 0,
			'list'      => [
				['title' => '个人设置', 'url' => 'Admin/detail', 'list' => [
					['title' => '个人信息', 'url' => 'Admin/detail', 'filter_list' => [], 'is_select' => 0],
					['title' => '密码修改', 'url' => 'Admin/change_password', 'filter_list' => [], 'is_select' => 0],
				], 'filter_list' => []],
				['title' => '管理员管理', 'url' => 'Admin/index', 'list' => [
					['title' => '管理员列表', 'url' => 'Admin/index', 'filter_list' => [
						['title' => '添加管理员', 'url' => 'Admin/add', 'is_select' => 0, 'filter_list' => []],
						['title' => '修改管理员', 'url' => 'Admin/edit', 'is_select' => 0, 'filter_list' => []],
					], 'is_select' => 0],
					['title' => '管理员角色', 'url' => 'AdminRole/index', 'filter_list' => [
						['title' => '添加角色', 'url' => 'AdminRole/add', 'is_select' => 0, 'filter_list' => []],
						['title' => '修改角色', 'url' => 'AdminRole/edit', 'is_select' => 0, 'filter_list' => []],
					], 'is_select' => 0],
					['title' => '操作日志', 'url' => 'Admin/operation_log', 'filter_list' => [
						
					], 'is_select' => 0],
				], 'filter_list' => []],
				['title' => '系统配置', 'url' => 'Config/setting?type=system', 'list' => [
					['title' => '网站配置', 'url' => 'Config/setting?type=system', 'filter_list' => [
						
					], 'is_select' => 0],
					['title' => '地区配置', 'url' => 'Area/index', 'filter_list' => [
						['title' => '添加地区', 'url' => 'Area/add', 'is_select' => 0, 'filter_list' => []],
						['title' => '修改地区', 'url' => 'Area/edit', 'is_select' => 0, 'filter_list' => []],
						['title' => '删除地区', 'url' => 'Area/delete', 'is_select' => 0, 'filter_list' => []],
						['title' => '标记开通', 'url' => 'Area/checkbox?field_name=is_open', 'is_select' => 0, 'filter_list' => []],
						['title' => '标记热门', 'url' => 'Area/checkbox?field_name=is_hot', 'is_select' => 0, 'filter_list' => []],
					], 'is_select' => 0],
				], 'filter_list' => []],
				['title' => 'SMTP配置', 'url' => 'Config/setting?type=email', 'list' => [
					['title' => '服务配置', 'url' => 'Config/setting?type=email', 'filter_list' => [], 'is_select' => 0],
				], 'filter_list' => []],
				['title' => '短信管理', 'url' => 'Config/setting?type=sms', 'list' => [
					['title' => '短信配置', 'url' => 'Config/setting?type=sms', 'filter_list' => [], 'is_select' => 0],
					['title' => '短信过滤', 'url' => 'Config/setting?type=filter_sms', 'filter_list' => [], 'is_select' => 0],
					['title' => '短信日志', 'url' => 'Sms/logs', 'filter_list' => [], 'is_select' => 0],
				], 'filter_list' => []],
				['title' => '微信管理', 'url' => 'Config/setting?type=weixin', 'addurl' => '', 'list' => [
					['title' => '微信配置', 'url' => 'Config/setting?type=weixin'],
					['title' => '菜单配置', 'url' => 'WeixinMenu/index', 'filter_list' => [
						['title' => '添加', 'url' => 'WeixinMenu/add'],
						['title' => '修改', 'url' => 'WeixinMenu/edit'],
						['title' => '虚拟删除', 'url' => 'WeixinMenu/del'],
						['title' => '真实删除', 'url' => 'WeixinMenu/delete'],
						['title' => '还原', 'url' => 'WeixinMenu/permit'],
						['title' => '同步至微信', 'url' => 'WeixinMenu/update_menu'],
						['title' => '启用禁用', 'url' => 'WeixinMenu/checkbox&field_name=status'],
						['title' => '回收站', 'url' => 'WeixinMenu/recycle'],
					]],
					['title' => '用户清单', 'url' => 'WeixinMenu/user_list'],
				]],
				['title' => '应用管理', 'url' => 'Config/setting?type=api', 'list' => [
					['title' => '接口配置', 'url' => 'Config/setting?type=api', 'filter_list' => [], 'is_select' => 0],
					['title' => '应用授权管理', 'url' => 'AppSet/index', 'filter_list' => [
						['title' => '添加', 'url' => 'AppSet/add'],
						['title' => '修改', 'url' => 'AppSet/edit'],
						['title' => '启用禁用', 'url' => 'AppSet/checkbox&field_name=status'],
					], 'is_select' => 0],
					['title' => '接口日志', 'url' => 'AppSet/logs', 'filter_list' => [
						['title' => '查看', 'url' => 'AppSet/win_detail'],
					], 'is_select' => 0],
				], 'filter_list' => []],
				['title' => '文件管理', 'url' => 'File/index', 'list' => [
					['title' => '文件管理', 'url' => 'File/index', 'filter_list' => [
						['title' => '删除', 'url' => 'File/delete'],
						['title' => '上传至OSS', 'url' => 'File/upload_oss'],
						['title' => '从OSS下载', 'url' => 'File/down_oss_file'],
					], 'is_select' => 0],
					['title' => 'OSS配置', 'url' => 'Config/setting?type=aliyun_oss', 'filter_list' => [], 'is_select' => 0],
				], 'filter_list' => []],
			]
		],
	]
];
